package gtkwire.widget.utils;

/**
*PangoEllipsizeMode describes what sort of (if any) ellipsization should be applied to a line of text.
*Documentation for this class is from the gtk+ file that this class binds to. See original file for copyrights.
*/
public class PangoEllipsizeMode
{

	/**
	*No ellipsization.
	*/
	public static final PangoEllipsizeMode NONE = new PangoEllipsizeMode( "PANGO_ELLIPSIZE_NONE" );

	/**
	*Omit characters at the start of the text.
	*/
	public static final PangoEllipsizeMode START= new PangoEllipsizeMode( "PANGO_ELLIPSIZE_START" );

	/**
	*Omit characters in the middle of the text.
	*/
	public static final PangoEllipsizeMode MIDDLE = new PangoEllipsizeMode( "PANGO_ELLIPSIZE_MIDDLE" );

	/**
	*Omit characters at the end of the text.
	*/
	public static final PangoEllipsizeMode END = new PangoEllipsizeMode( "PANGO_ELLIPSIZE_END" );

	private String mode;

	private PangoEllipsizeMode( String mode )
	{
		this.mode = mode;
	}

	public String getMode(){ return mode; }

}//end class
